package com.youedata.modular.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youedata.modular.entity.LawNoticeInfo;
import com.youedata.modular.mapper.LawNoticeInfoMapper;
import com.youedata.modular.mapper.LegalServiceInfoMapper;
import  com.youedata.modular.service.ILawNoticeInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 法律公告表 服务实现类
 * </p>
 *
 * @author hst
 * @date 2021-07-12
 */
@Service
@Transactional(rollbackFor = Exception.class)

public class LawNoticeInfoServiceImpl extends ServiceImpl<LawNoticeInfoMapper, LawNoticeInfo> implements ILawNoticeInfoService {
    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    private LawNoticeInfoMapper lawNoticeInfoMapper;
    @Override
    public List querytitlefuzzy(Page page, String title) {
        return lawNoticeInfoMapper.querytitlefuzzy(page,title);
    }
}

